/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Hora.fbp;

/**
 *
 * @Author Fernando
 * @Nombre del archivo Hora
 * @Nombre y extension del archivo Hora.java
 * @Fecha 03-mar-2014
 * @Hora 20:37:09
 */
public class Hora {

    int h;
    int m;
    int s;

    public Hora(int h, int m, int s) {
        this.h = h;
        this.m = m;
        this.s = s;
    }

    public Hora() {
    }

    public boolean validarHora(int h, int m, int s) {
        return h >= 0 && h <= 23 && m >= 0 && m <= 59 && s >= 0 && s <= 59;
    }

   
}
